package jaeger

import (
	"gitee.com/zawei/yggdrasil/pkg/log"
)

type logger struct {
	lg *zap.Logger
}

// Error logs a message at error priority
func (l *logger) Error(msg string) {
	l.lg.Error(msg)
}

// Infof logs a message at info priority
func (l *logger) Infof(msg string, args ...interface{}) {
	l.lg.Infof(msg, args...)
}
